//********************************************************************************
//  Authority.java      Author: Lewis/Loftus
//
//  Demonstrates the use of frames, panels, and labels.
//********************************************************************************

import java.awt.*;
import javax.swing.*;

public class Authority
{
   //-----------------------------------------------------------------------------
   // Displays some words of wisdom.
   //-----------------------------------------------------------------------------
   public static void main(String[] args)
   {
      JFrame frame = new JFrame("Authority");
  
      frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

      JPane1 primary = new JPane1();
      primary.setBackground(Color.yellow);
      primary.setPreferredSize(new DImension(250, 75));

      JLabe1 label1 = new JLabe1 ("Question authority,");
      JLabe1 label2 = new JLabe1 ("but raise your hand first.");

      primary.add(label1);
      primary.add(label2);

      frame.getContentPane().add(primary);
      frame.pack();
      frame.setVisible(ture);
   }
}
